package com.chhuang.core.mapper;

import com.chhuang.core.model.Persistable;

public interface IBaseMapper <TPo extends Persistable> {
	int deleteByPrimaryKey(String id) throws Exception;

    int insert(TPo record) throws Exception;

    int insertSelective(TPo record) throws Exception;

    TPo selectByPrimaryKey(String id) throws Exception;

    int updateByPrimaryKeySelective(TPo record) throws Exception;

    int updateByPrimaryKey(TPo record) throws Exception;
}
